@import "global";

.am-animation-slide-left {
  animation-name: slide-left;
  animation-duration: 1s;
}

@keyframes slide-left {
  0% {
    opacity: 0;
    transform: translateX(50%);
  }
  30% {
    opacity: 0;
    transform: translateX(50%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.am-animation-slide-right {
  animation-name: slide-right;
  animation-duration: 1s;
}

@keyframes slide-right {
  0% {
    opacity: 0;
    transform: translateX(-50%);
  }
  30% {
    opacity: 0;
    transform: translateX(-50%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.diw-service-section {
  margin: 0;

  //.am-container .am-g {
  //  display: flex;
  //  align-items: center;
  //}

  img {
    //box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  }
}

.diw-section-title-sub {
  position: relative;
  margin: 0;
  padding: 20px;
  text-align: center;
  &.top-gap {
    margin-top: 45px;
  }

  &:after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px;
    border-left-width: 10px;
    border-right-width: 10px;
    border-color: transparent;
  }

  .color-mixin(@color) {
    background-color: @color;

    &:after {
      border-top-color: @color;
    }
  }
  &.black {
    .color-mixin(#000);
    color: @white;
  }
  &.blue {
    .color-mixin(#00B4E3);
    color: @white;
  }
  &.grey {
    .color-mixin(#EEEEEE);
  }
}

.diw-service-section-trade, .diw-service-section-wx {
  //box-shadow: 0 10px 30px rgba(0, 0, 0, .15);

  img {
    box-shadow: none;
  }
}
